StateHeaderComponent

open class StateHeaderComponent

This class creates and performs a view corresponding the stateful header area in Sendbird UIKit. since 3.0.0

Constructors

Link copied to clipboard
open fun StateHeaderComponent()
Constructor since 3.0.

Types

Link copied to clipboard
open class Params
A collection of parameters, which can be applied to a default View.

Functions

Link copied to clipboard
open fun getRootView(): View
Returns the view created by onCreateView.
Link copied to clipboard
open fun notifyRightButtonEnableStateChanged(enabled: Boolean)
Notifies the events to the view when the right button enable state changed.
Link copied to clipboard
open fun onCreateView(    @NonNull context: Context,     @NonNull inflater: LayoutInflater,     @NonNull parent: ViewGroup,     @Nullable args: Bundle): View
Called after the component was created to make views.
Link copied to clipboard
protected open fun onLeftButtonClicked(@NonNull view: View)
Called when the left button of the header is clicked.
Link copied to clipboard
protected open fun onRightButtonClicked(@NonNull view: View)
Called when the right button of the header is clicked.
Link copied to clipboard
open fun setOnLeftButtonClickListener(@Nullable leftButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the left button of the header is clicked.
Link copied to clipboard
open fun setOnRightButtonClickListener(@Nullable rightButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the right button of the header is clicked.

Properties

Link copied to clipboard
val params: StateHeaderComponent.Params

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard